use std::time::{SystemTime, UNIX_EPOCH};

pub fn now() -> u64 {
    SystemTime::now()
        .duration_since(UNIX_EPOCH)
        .unwrap()
        .as_secs()
} 

pub fn now_str() -> String {
    use chrono::Local;
    Local::now().format("%Y%m%d%H%M%S").to_string()
}